home *** CD-ROM | disk | FTP | other *** search
-
- #ifndef __PEONDLLHEADER_H_
- #define __PEONDLLHEADER_H_
- /*
- Peon - Win32 Games Programming Library
- Copyright (C) 2002-2005 Erik Yuzwa
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public
- License along with this library; if not, write to the Free
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- Erik Yuzwa
- peon AT wazooinc DOT com
- */
-
-
- // The following ifdef block is the standard way of creating macros which make exporting
- // from a DLL simpler. All files within this DLL are compiled with the PEONMAIN_EXPORTS
- // symbol defined on the command line. this symbol should not be defined on any project
- // that uses this DLL. This way any other project whose source files include this file see
- // PEONMAIN_API functions as being imported from a DLL, whereas this DLL sees symbols
- // defined with this macro as being exported.
- //
- // In practical terms you just put the PEONMAIN_EXPORTS declaration on any object
- // that you want to be able to call from your application.
- //
- #ifdef PEONMAIN_EXPORTS
- #define PEONMAIN_API __declspec(dllexport)
- #else
- #define PEONMAIN_API __declspec(dllimport)
- #endif
-
-
-
- #endif
-
-
-
-
-
-
-
-
-
-